﻿using MyStore.Domain.Abstracts;
using MyStore.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyStore.Domain.Concretes
{
    public class ProductRepositoryEF : IProductRepository
    {
        public IQueryable<Entities.Product> Products
        {
            get 
            {
                List<Product> productList = new List<Product>();

                productList.Add(new Product { ProductID = 1, ProductName = "Lumia 925", Description = "Lumia 925 is best.", Price = 500, Category = "Nokia Phone" });

                return productList.AsQueryable();
            }
        }
    }
}
